package com.hisense.hiioc.hismartplate.mapper;

import com.hisense.hiioc.hismartplate.entity.table.DeviceSnapEntity;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: almo
 * @Date: 2018/12/10 上午10:00
 * @Version 1.0
 */
public interface DeviceSnapMapper extends Mapper<DeviceSnapEntity> {
    int insertOrUpdateDeviceSnapShot(DeviceSnapEntity entity);
    List<DeviceSnapEntity> getDeviceSnapInfo(String deviceId);
    List<Map> getDeviceList(Map region);

}
